<template>
  <div class="child">
    <h3>我是Child组件（子组件）</h3>
    <son-com></son-com>
  </div>
</template>

<script>
import SonCom from "@/components/SonCom.vue";

export default {
  name: "ChildCom",
  components: {SonCom}
}
</script>

<style>
.child {
  background-color: skyblue;
  padding: 10px;
}
</style>
